<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>宿舍报修系统-${title!}</title>
  <link rel="stylesheet" href="/static/layui/css/layui.css">
  <link rel="stylesheet" href="/static/css/app.css">
  <script src="/static/layui/layui.js"></script>
  <script src="https://cdn.staticfile.org/dayjs/1.8.14/dayjs.min.js"></script>
  <script src="/static/js/utils.js"></script>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <a href="/"><div class="layui-logo">宿舍报修后台</div></a>
    <ul class="layui-nav layui-layout-left">
      <li class="layui-nav-item">
        <a href="/admin/repairs">
          最新报修<span class="layui-badge layui-hide" id="newrepairs">6</span>
        </a>
      </li>
    </ul>

    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:">
          <img src="/static/images/cover.jpg" class="layui-nav-img">
          <span id="name"></span>
        </a>
        <dl class="layui-nav-child">
          <dd><a href="/admin/setting">安全设置</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a href="/logout">退了</a></li>
    </ul>
  </div>

  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <ul class="layui-nav layui-nav-tree">
        <li class="layui-nav-item layui-${notices!}">
          <a href="/admin">
            <span class="layui-icon layui-icon-notice"></span>
            <span>公告通知</span>
          </a>
        </li>
        <li class="layui-nav-item layui-${houses!}">
          <a href="/admin/houses">
            <span class="layui-icon layui-icon-home"></span>
            <span>宿舍管理</span>
          </a>
        </li>
        <li class="layui-nav-item layui-${maintainers!}">
          <a href="/admin/maintainers">
            <span class="layui-icon layui-icon-util"></span>
            <span>维修员</span>
          </a>
        </li>
        <li class="layui-nav-item layui-${repairs!}">
          <a href="/admin/repairs">
            <span class="layui-icon layui-icon-form"></span>
            <span>学生报修</span>
          </a>
        </li>
        <li class="layui-nav-item layui-${advises!}">
          <a href="/admin/advises">
            <span class="layui-icon layui-icon-survey"></span>
            <span>建议箱</span>
          </a>
        </li>
      </ul>
    </div>
  </div>

  <div class="layui-body body-wrapper" style="padding: 15px; background-color: #f2f7f9">
